package com.daxue002.header;

import com.daxue002.util.MessageType;

public class Header implements HeaderInterface {
	private MessageType type;
	private int transactionId;

	private int length;

	public MessageType getType() {
		return type;
	}

	public void setType(MessageType type) {
		this.type = type;
	}

	public int getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(int transactionId) {
		this.transactionId = transactionId;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	@Override
	public MessageType getMessageType() {
		return this.type;
	}

}
